package sifcom.Entidades;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;

import com.googlecode.objectify.Key;

@Entity
public class Canton2 implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4245418365000799252L;
	
	@Id Long id;
	Key<Provincia> provincia;
	String canton;
	
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return the provincia
	 */
	public Key<Provincia> getProvincia() {
		return provincia;
	}
	/**
	 * @param provincia the provincia to set
	 */
	public void setProvincia(Key<Provincia> provincia) {
		this.provincia = provincia;
	}
	/**
	 * @return the canton
	 */
	public String getCanton() {
		return canton;
	}
	/**
	 * @param canton the canton to set
	 */
	public void setCanton(String canton) {
		this.canton = canton;
	}	
	
}
